<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Wild Fire Learning Solutions</title>
</head>
<body>
<?php
session_start();

//############################################
//Now import the settings
include_once("settings.php");

//############################################
//Connect to the db
mysql_connect($db_host,$MySqlUN,$MySqlPW);
@mysql_select_db($database) or die( "Unable to select databases");

//get our variable passed through the URL
$prodid = $_REQUEST['prodid'];
//echo $prodid;
//get information on the specific product we want
$query = "select * from products where products_prodnum = '$prodid'";
$results = mysql_query($query) or die(mysql_error());
$row = mysql_fetch_array($results);
extract($row);
?>
<strong><?php echo $products_name; ?></strong><br>
Product Details<br />
<?php
echo "<a href=\"getprod.php?prodid=" . $products_prodnum . "\">";
	echo "<img src=\"images/shopping_cart.jpg\" border=\"0\"><br>Add to cart</a></b></td>";
?>
</body>
</html>
